@import '@/styles/index.scss';

.container {
  background-color: $bgc;

  .honor-page {
    width: 100%;
    padding: 214rpx 0 40rpx;

    .search {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 20rpx;
      background-color: #fff;
      box-sizing: border-box;
      border-bottom: 2rpx solid $bdc;
      z-index: 100;

      .box {
        display: flex;
        align-items: center;
        border-bottom: 2rpx solid $fc-on;

        .content {
          flex: 1;
          padding-bottom: 10rpx;
          box-sizing: border-box;

          .input-item {
            display: block;
            width: 100%;
            height: 120rpx;
            line-height: 40rpx;
            box-sizing: border-box;
          }
        }

        .button {
          line-height: 54rpx;
          white-space: nowrap;
          color: #fff;

          .btn {
            padding: 0 20rpx;
            margin: 0 10rpx 10rpx;
            text-align: center;
            font-size: $fsm;
            background-color: $fc-on;
            border-radius: 5rpx;
            cursor: pointer;
          }
        }
      }
    }

    .body {
      background-color: #fff;

      .list {
        border-top: 2rpx solid $bdc;

        .item {
          position: relative;
          display: flex;
          align-items: center;
          padding: 20rpx;
          border-bottom: 2rpx solid $bdc;

          .title {
            width: 50rpx;
          }

          .content {
            flex: 1;
            word-wrap: break-word;
            word-break: break-all;
            white-space: pre-wrap;
          }

          .del {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 50%;
            right: 20rpx;
            width: 180rpx;
            transform: translate(0, -50%);
            background-color: rgba(255, 255, 255, 1);
            border-radius: 10rpx;
            border: 2rpx solid $bdc;
            text-align: center;

            .icon {
              margin: 20rpx;
              text-align: center;

              .image {
                display: inline-block;
                vertical-align: top;
                width: 40rpx;
                height: 40rpx;
              }

              .text {
                font-size: $fss;
                color: $fc;
              }
            }
          }
        }
      }
    }
  }
}